package com.happyhome.dao;

import java.util.List;

import com.happyhome.datamodel.Image;
import com.trg.dao.jpa.GenericDAO;
 
public interface ImageDao extends GenericDAO<Image, Long> {
	List<Image> getAllImagesByHouseId(Long aId);
	List<Image> getAllImagesByRoomId(Long roomId);
	List<Image> getAllImagesFree();	
	Image getImageByNewFileName(String fileName);
	List<Image> getListImageByAId(Long aId, String type);
	Image getImageByAIdIsDisplay(Long aId, String type);
	Image getImageNewestAId(Long aId, String type);
}